<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PolkitUnixNetgroup</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="polkit Reference Manual">
<link rel="up" href="Identities.html" title="Identities">
<link rel="prev" href="PolkitUnixGroup.html" title="PolkitUnixGroup">
<link rel="next" href="ref-backend-api.html" title="Part IV. Backend API Reference">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="PolkitUnixGroup.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="Identities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">polkit Reference Manual</th>
<td><a accesskey="n" href="ref-backend-api.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#PolkitUnixNetgroup.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#PolkitUnixNetgroup.description" class="shortcut">Description</a>
                   | 
                  <a href="#PolkitUnixNetgroup.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#PolkitUnixNetgroup.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#PolkitUnixNetgroup.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="PolkitUnixNetgroup"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="PolkitUnixNetgroup.top_of_page"></a>PolkitUnixNetgroup</span></h2>
<p>PolkitUnixNetgroup — Unix netgroups</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="PolkitUnixNetgroup.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="PolkitUnixNetgroup.html#PolkitUnixNetgroup-struct" title="PolkitUnixNetgroup">PolkitUnixNetgroup</a>;
<a class="link" href="PolkitIdentity.html" title="PolkitIdentity"><span class="returnvalue">PolkitIdentity</span></a> *    <a class="link" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-new" title="polkit_unix_netgroup_new ()">polkit_unix_netgroup_new</a>            (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-get-name" title="polkit_unix_netgroup_get_name ()">polkit_unix_netgroup_get_name</a>       (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-set-name" title="polkit_unix_netgroup_set_name ()">polkit_unix_netgroup_set_name</a>       (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----PolkitUnixNetgroup
</pre>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
PolkitUnixNetgroup implements
 <a class="link" href="PolkitIdentity.html" title="PolkitIdentity">PolkitIdentity</a>.</p>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="PolkitUnixNetgroup.html#PolkitUnixNetgroup--name" title='The "name" property'>name</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct
</pre>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.description"></a><h2>Description</h2>
<p>
An object representing a netgroup identity on a UNIX system.
</p>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="PolkitUnixNetgroup-struct"></a><h3>PolkitUnixNetgroup</h3>
<pre class="programlisting">typedef struct _PolkitUnixNetgroup PolkitUnixNetgroup;</pre>
<p>
The <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> struct should not be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-netgroup-new"></a><h3>polkit_unix_netgroup_new ()</h3>
<pre class="programlisting"><a class="link" href="PolkitIdentity.html" title="PolkitIdentity"><span class="returnvalue">PolkitIdentity</span></a> *    polkit_unix_netgroup_new            (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Creates a new <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> object for <em class="parameter"><code>name</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>A netgroup name.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> object. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-netgroup-get-name"></a><h3>polkit_unix_netgroup_get_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       polkit_unix_netgroup_get_name       (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>);</pre>
<p>
Gets the netgroup name for <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>A <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A netgroup name string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-netgroup-set-name"></a><h3>polkit_unix_netgroup_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                polkit_unix_netgroup_set_name       (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="PolkitUnixNetgroup--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting">  "name"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct</pre>
<p>
The NIS netgroup name.
</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>